home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Oberon⁄F™ 1.2 / Preinstalled version / Obx / Docu / Buttons < prev    next >
MacBinary  |  1995-12-27  |  9.4 KB  |  [oODC/obnF]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Nov 9 16:49:52 1995, modified Wed Dec 27 11:35:16 1995, creator 'obnF', type 'oODC', 9033 bytes "Buttons" , at 0x23c9 318 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[oODC]
macFileCreator[obnF]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 42 75 74 74 6f 6e | 73 00 00 00 00 00 00 00 |..Button|s.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 6f 4f 44 43 6f 62 6e | 46 01 00 00 00 00 00 00 |.oODCobn|F.......|
|00000050| 00 00 00 00 00 23 49 00 | 00 01 3e ac c8 28 00 ad |.....#I.|..>..(..|
|00000060| 07 26 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.&D.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 70 b6 00 00 |........|....p...|
|00000080| 43 44 4f 6f 00 00 00 00 | 82 f1 44 6f 63 75 6d 65 |CDOo....|..Docume|
|00000090| 6e 74 73 2e 53 74 64 44 | 6f 63 75 6d 65 6e 74 44 |nts.StdD|ocumentD|
|000000a0| 65 73 63 00 f1 44 6f 63 | 75 6d 65 6e 74 73 2e 44 |esc..Doc|uments.D|
|000000b0| 6f 63 75 6d 65 6e 74 44 | 65 73 63 00 f1 43 6f 6e |ocumentD|esc..Con|
|000000c0| 74 61 69 6e 65 72 73 2e | 56 69 65 77 44 65 73 63 |tainers.|ViewDesc|
|000000d0| 00 f1 56 69 65 77 73 2e | 56 69 65 77 44 65 73 63 |..Views.|ViewDesc|
|000000e0| 00 f0 53 74 6f 72 65 73 | 2e 53 74 6f 72 65 44 65 |..Stores|.StoreDe|
|000000f0| 73 63 00 00 00 00 00 00 | 00 00 00 07 00 00 00 c6 |sc......|........|
|00000100| 22 00 00 00 00 00 83 f1 | 44 6f 63 75 6d 65 6e 74 |".......|Document|
|00000110| 73 2e 4d 6f 64 65 6c 44 | 65 73 63 00 f1 43 6f 6e |s.ModelD|esc..Con|
|00000120| 74 61 69 6e 65 72 73 2e | 4d 6f 64 65 6c 44 65 73 |tainers.|ModelDes|
|00000130| 63 00 f1 4d 6f 64 65 6c | 73 2e 4d 6f 64 65 6c 44 |c..Model|s.ModelD|
|00000140| 65 73 63 00 f1 53 74 6f | 72 65 73 2e 45 6c 65 6d |esc..Sto|res.Elem|
|00000150| 44 65 73 63 00 f2 04 00 | 00 00 00 00 00 00 14 22 |Desc....|......."|
|00000160| 00 00 09 00 00 00 0c 22 | 00 00 00 00 00 00 00 82 |......."|........|
|00000170| f1 54 65 78 74 56 69 65 | 77 73 2e 53 74 64 56 69 |.TextVie|ws.StdVi|
|00000180| 65 77 44 65 73 63 00 f1 | 54 65 78 74 56 69 65 77 |ewDesc..|TextView|
|00000190| 73 2e 56 69 65 77 44 65 | 73 63 00 f2 02 00 00 00 |s.ViewDe|sc......|
|000001a0| 00 00 00 00 00 00 00 00 | 07 00 00 00 b6 21 00 00 |........|.....!..|
|000001b0| 00 00 00 83 f1 54 65 78 | 74 4d 6f 64 65 6c 73 2e |.....Tex|tModels.|
|000001c0| 53 74 64 4d 6f 64 65 6c | 44 65 73 63 00 f1 54 65 |StdModel|Desc..Te|
|000001d0| 78 74 4d 6f 64 65 6c 73 | 2e 4d 6f 64 65 6c 44 65 |xtModels|.ModelDe|
|000001e0| 73 63 00 f2 06 00 00 00 | 00 00 00 00 b8 1f 00 00 |sc......|........|
|000001f0| 0f 00 00 00 b0 1f 00 00 | 00 00 00 00 00 00 c4 03 |........|........|
|00000200| 00 00 00 82 f1 54 65 78 | 74 4d 6f 64 65 6c 73 2e |.....Tex|tModels.|
|00000210| 41 74 74 72 69 62 75 74 | 65 73 44 65 73 63 00 f2 |Attribut|esDesc..|
|00000220| 04 00 00 00 00 00 00 00 | 2f 00 00 00 00 00 00 00 |........|/.......|
|00000230| 22 00 00 00 00 00 00 00 | 00 01 00 00 00 00 48 65 |".......|......He|
|00000240| 6c 76 65 74 69 63 61 00 | 7c be 01 00 00 00 00 00 |lvetica.||.......|
|00000250| bc 02 00 00 00 00 1f 00 | 00 00 01 82 f2 0d 00 00 |........|........|
|00000260| 00 00 00 00 00 2f 00 00 | 00 00 00 00 00 22 00 00 |...../..|....."..|
|00000270| 00 00 00 00 00 00 01 00 | 00 00 00 48 65 6c 76 65 |........|...Helve|
|00000280| 74 69 63 61 00 7c be 01 | 00 00 00 00 00 90 01 00 |tica.|..|........|
|00000290| 00 00 00 4e 03 00 00 02 | 82 f2 0d 00 00 00 00 00 |...N....|........|
|000002a0| 00 00 02 02 00 00 00 00 | 00 00 22 00 00 00 00 00 |........|..".....|
|000002b0| 00 00 00 01 00 00 00 00 | 48 65 6c 76 65 74 69 63 |........|Helvetic|
|000002c0| 61 00 7c be 01 00 01 00 | 00 00 90 01 00 00 00 00 |a.|.....|........|
|000002d0| 0c 00 00 00 01 34 00 00 | 00 02 0d 00 00 00 01 14 |.....4..|........|
|000002e0| 00 00 00 02 06 00 00 00 | 01 09 00 00 00 02 04 00 |........|........|
|000002f0| 00 00 01 0d 00 00 00 02 | 0e 00 00 00 01 09 00 00 |........|........|
|00000300| 00 02 04 00 00 00 01 c5 | 01 00 00 02 32 00 00 00 |........|....2...|
|00000310| 01 6d 01 00 00 02 0b 00 | 00 00 01 05 00 00 00 02 |.m......|........|
|00000320| 0b 00 00 00 01 3b 00 00 | 00 02 0f 00 00 00 01 05 |.....;..|........|
|00000330| 00 00 00 02 0e 00 00 00 | 01 13 01 00 00 02 08 00 |........|........|
|00000340| 00 00 01 34 00 00 00 02 | 06 00 00 00 01 8f 00 00 |...4....|........|
|00000350| 00 02 07 00 00 00 01 a1 | 01 00 00 02 0d 00 00 00 |........|........|
|00000360| 01 3f 02 00 00 02 06 00 | 00 00 01 0f 00 00 00 02 |.?......|........|
|00000370| 0b 00 00 00 01 15 01 00 | 00 02 0a 00 00 00 01 08 |........|........|
|00000380| 00 00 00 02 04 00 00 00 | 01 02 00 00 00 02 0a 00 |........|........|
|00000390| 00 00 01 5e 00 00 00 02 | 08 00 00 00 01 78 00 00 |...^....|.....x..|
|000003a0| 00 02 12 00 00 00 01 30 | 00 00 00 02 11 00 00 00 |.......0|........|
|000003b0| 01 59 00 00 00 02 12 00 | 00 00 01 05 00 00 00 02 |.Y......|........|
|000003c0| 0d 00 00 00 01 29 00 00 | 00 02 08 00 00 00 01 02 |.....)..|........|
|000003d0| 00 00 00 02 04 00 00 00 | 01 02 00 00 00 02 05 00 |........|........|
|000003e0| 00 00 01 01 00 00 00 02 | 06 00 00 00 01 02 00 00 |........|........|
|000003f0| 00 02 04 00 00 00 01 06 | 00 00 00 02 05 00 00 00 |........|........|
|00000400| 01 9b 00 00 00 02 0a 00 | 00 00 01 24 00 00 00 02 |........|...$....|
|00000410| 0a 00 00 00 01 0c 01 00 | 00 02 0d 00 00 00 01 16 |........|........|
|00000420| 00 00 00 02 07 00 00 00 | 01 05 00 00 00 02 06 00 |........|........|
|00000430| 00 00 01 22 00 00 00 02 | 06 00 00 00 01 f9 00 00 |..."....|........|
|00000440| 00 02 17 00 00 00 01 05 | 00 00 00 02 15 00 00 00 |........|........|
|00000450| 01 c8 00 00 00 02 0c 00 | 00 00 01 98 00 00 00 02 |........|........|
|00000460| 0d 00 00 00 01 e3 01 00 | 00 02 12 00 00 00 01 0c |........|........|
|00000470| 00 00 00 02 14 00 00 00 | 01 78 00 00 00 02 09 00 |........|.x......|
|00000480| 00 00 01 54 00 00 00 02 | 03 00 00 00 01 2a 00 00 |...T....|.....*..|
|00000490| 00 02 07 00 00 00 01 a5 | 00 00 00 01 00 00 00 00 |........|........|
|000004a0| ec 84 02 00 b4 21 02 00 | 82 f1 44 65 76 43 6f 6d |.....!..|..DevCom|
|000004b0| 6d 61 6e 64 65 72 73 2e | 53 74 64 56 69 65 77 44 |manders.|StdViewD|
|000004c0| 65 73 63 00 f1 44 65 76 | 43 6f 6d 6d 61 6e 64 65 |esc..Dev|Commande|
|000004d0| 72 73 2e 56 69 65 77 44 | 65 73 63 00 f2 03 00 00 |rs.ViewD|esc.....|
|000004e0| 00 00 00 00 00 20 00 00 | 00 00 00 00 00 06 00 00 |..... ..|........|
|000004f0| 00 00 00 00 15 00 00 01 | 12 02 00 00 01 00 00 00 |........|........|
|00000500| 00 fc d7 03 00 b4 21 02 | 00 82 f1 53 74 64 4c 69 |......!.|...StdLi|
|00000510| 6e 6b 73 2e 4c 69 6e 6b | 44 65 73 63 00 f2 03 00 |nks.Link|Desc....|
|00000520| 00 00 00 00 00 00 34 00 | 00 00 00 00 00 00 2b 00 |......4.|......+.|
|00000530| 00 00 00 00 00 01 24 00 | 00 00 53 74 64 43 6d 64 |......$.|..StdCmd|
|00000540| 73 2e 4f 70 65 6e 44 6f | 63 28 27 4f 62 78 2f 4d |s.OpenDo|c('Obx/M|
|00000550| 6f 64 2f 42 75 74 74 6f | 6e 73 27 29 00 03 82 f2 |od/Butto|ns')....|
|00000560| 0d 00 00 00 00 00 00 00 | 3b 00 00 00 00 00 00 00 |........|;.......|
|00000570| 22 00 00 00 00 00 00 00 | ff 00 00 00 00 00 48 65 |".......|......He|
|00000580| 6c 76 65 74 69 63 61 00 | 7c be 01 00 02 00 00 00 |lvetica.||.......|
|00000590| 90 01 00 00 00 00 13 00 | 00 00 01 00 00 00 00 ac |........|........|
|000005a0| 84 01 00 b4 21 02 00 82 | f2 10 00 00 00 00 00 00 |....!...|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 08 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 ff 4f 62 | 65 72 6f 6e 20 62 79 20 |......Ob|eron by |
|000005d0| 45 78 61 6d 70 6c 65 3a | 20 4f 62 78 42 75 74 74 |Example:| ObxButt|
|000005e0| 6f 6e 73 0d 0d 54 68 69 | 73 20 65 78 61 6d 70 6c |ons..Thi|s exampl|
|000005f0| 65 20 64 65 6d 6f 6e 73 | 74 72 61 74 65 73 20 68 |e demons|trates h|
|00000600| 6f 77 20 6e 65 77 20 63 | 6f 6e 74 72 6f 6c 73 20 |ow new c|ontrols |
|00000610| 63 61 6e 20 62 65 20 69 | 6d 70 6c 65 6d 65 6e 74 |can be i|mplement|
|00000620| 65 64 2e 20 41 20 63 6f | 6e 74 72 6f 6c 20 69 73 |ed. A co|ntrol is|
|00000630| 20 61 20 76 69 73 75 61 | 6c 20 6f 62 6a 65 63 74 | a visua|l object|
|00000640| 20 74 68 61 74 20 61 6c | 6c 6f 77 73 20 74 6f 20 | that al|lows to |
|00000650| 63 6f 6e 74 72 6f 6c 20 | 73 6f 6d 65 20 62 65 68 |control |some beh|
|00000660| 61 76 69 6f 72 20 6f 66 | 20 61 6e 6f 74 68 65 72 |avior of| another|
|00000670| 20 70 61 72 74 20 6f 66 | 20 74 68 65 20 70 72 6f | part of| the pro|
|00000680| 67 72 61 6d 2e 20 45 78 | 61 6d 70 6c 65 73 20 6f |gram. Ex|amples o|
|00000690| 66 20 63 6f 6e 74 72 6f | 6c 73 20 61 72 65 20 62 |f contro|ls are b|
|000006a0| 75 74 74 6f 6e 73 2c 20 | 73 6c 69 64 65 72 73 2c |uttons, |sliders,|
|000006b0| 20 63 68 65 63 6b 20 62 | 6f 78 65 73 2c 20 65 74 | check b|oxes, et|
|000006c0| 63 2e 20 49 6e 20 4f 62 | 65 72 6f 6e 2f 46 2c 20 |c. In Ob|eron/F, |
|000006d0| 61 20 63 6f 6e 74 72 6f | 6c 20 69 73 20 61 20 73 |a contro|l is a s|
|000006e0| 70 65 63 69 61 6c 69 7a | 65 64 20 76 69 65 77 2e |pecializ|ed view.|
|000006f0| 20 41 20 73 74 61 6e 64 | 61 72 64 20 73 65 6c 65 | A stand|ard sele|
|00000700| 63 74 69 6f 6e 20 6f 66 | 20 69 6d 70 6f 72 74 61 |ction of| importa|
|00000710| 6e 74 20 63 6f 6e 74 72 | 6f 6c 73 20 69 73 20 70 |nt contr|ols is p|
|00000720| 72 6f 76 69 64 65 64 20 | 62 79 20 4f 62 65 72 6f |rovided |by Obero|
|00000730| 6e 2f 46 2c 20 6f 74 68 | 65 72 73 20 63 61 6e 20 |n/F, oth|ers can |
|00000740| 62 65 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 62 |be imple|mented b|
|00000750| 79 20 74 68 69 72 64 20 | 70 61 72 74 69 65 73 2e |y third |parties.|
|00000760| 20 54 68 69 73 20 61 72 | 74 69 63 6c 65 20 73 68 | This ar|ticle sh|
|00000770| 6f 77 73 20 61 6e 20 65 | 78 61 6d 70 6c 65 20 6f |ows an e|xample o|
|00000780| 66 20 61 20 73 69 6d 70 | 6c 65 20 62 75 74 74 6f |f a simp|le butto|
|00000790| 6e 20 63 6f 6e 74 72 6f | 6c 20 69 6d 70 6c 65 6d |n contro|l implem|
|000007a0| 65 6e 74 61 74 69 6f 6e | 2e 0d 0d 4f 75 72 20 65 |entation|...Our e|
|000007b0| 78 61 6d 70 6c 65 20 63 | 6f 6e 74 72 6f 6c 20 68 |xample c|ontrol h|
|000007c0| 61 73 20 66 6f 75 72 20 | 70 72 6f 70 65 72 74 69 |as four |properti|
|000007d0| 65 73 3a 20 69 74 73 20 | 63 75 72 72 65 6e 74 20 |es: its |current |
|000007e0| 66 6f 6e 74 2c 20 63 6f | 6c 6f 72 2c 20 6c 69 6e |font, co|lor, lin|
|000007f0| 6b 2c 20 61 6e 64 20 6c | 61 62 65 6c 2e 20 54 68 |k, and l|abel. Th|
|00000800| 65 20 6c 69 6e 6b 20 69 | 73 20 75 73 65 64 20 62 |e link i|s used b|
|00000810| 79 20 6d 6f 73 74 20 4f | 62 65 72 6f 6e 2f 46 20 |y most O|beron/F |
|00000820| 63 6f 6e 74 72 6f 6c 73 | 20 74 6f 20 62 69 6e 64 |controls| to bind|
|00000830| 20 74 68 65 6d 20 74 6f | 20 73 6f 6d 65 20 70 72 | them to| some pr|
|00000840| 6f 67 72 61 6d 20 65 6c | 65 6d 65 6e 74 73 2e 20 |ogram el|ements. |
|00000850| 49 6e 20 6f 75 72 20 63 | 61 73 65 2c 20 74 68 69 |In our c|ase, thi|
|00000860| 73 20 70 72 6f 67 72 61 | 6d 20 65 6c 65 6d 65 6e |s progra|m elemen|
|00000870| 74 20 69 73 20 61 6e 20 | 4f 62 65 72 6f 6e 20 63 |t is an |Oberon c|
|00000880| 6f 6d 6d 61 6e 64 2c 20 | 69 2e 65 2e 20 61 6e 20 |ommand, |i.e. an |
|00000890| 65 78 70 6f 72 74 65 64 | 20 70 72 6f 63 65 64 75 |exported| procedu|
|000008a0| 72 65 2e 20 54 68 65 20 | 6c 61 62 65 6c 20 69 73 |re. The |label is|
|000008b0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 64 69 73 70 | the str|ing disp|
|000008c0| 6c 61 79 65 64 20 69 6e | 20 74 68 65 20 62 75 74 |layed in| the but|
|000008d0| 74 6f 6e 2e 0d 0d 43 6f | 6e 74 72 6f 6c 20 70 72 |ton...Co|ntrol pr|
|000008e0| 6f 70 65 72 74 69 65 73 | 20 63 61 6e 20 62 65 20 |operties| can be |
|000008f0| 69 6e 73 70 65 63 74 65 | 64 20 61 6e 64 20 6d 6f |inspecte|d and mo|
|00000900| 64 69 66 69 65 64 20 77 | 69 74 68 20 74 68 65 20 |dified w|ith the |
|00000910| 63 6f 6e 74 72 6f 6c 20 | 70 72 6f 70 65 72 74 79 |control |property|
|00000920| 20 69 6e 73 70 65 63 74 | 6f 72 20 28 6d 6f 64 75 | inspect|or (modu|
|00000930| 6c 65 20 44 65 76 49 6e | 73 70 65 63 74 6f 72 29 |le DevIn|spector)|
|00000940| 2e 20 54 6f 20 64 6f 20 | 74 68 61 74 2c 20 73 65 |. To do |that, se|
|00000950| 6c 65 63 74 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |lect the| control|
|00000960| 2c 20 61 6e 64 20 74 68 | 65 6e 20 75 73 65 20 74 |, and th|en use t|
|00000970| 68 65 20 50 72 6f 70 65 | 72 74 69 65 73 2e 2e 2e |he Prope|rties...|
|00000980| 20 63 6f 6d 6d 61 6e 64 | 20 69 6e 20 73 75 62 6d | command| in subm|
|00000990| 65 6e 75 20 4f 62 6a 65 | 63 74 20 6f 66 20 6d 65 |enu Obje|ct of me|
|000009a0| 6e 75 20 45 64 69 74 20 | 28 57 69 6e 64 6f 77 73 |nu Edit |(Windows|
|000009b0| 29 20 2f 20 43 6f 6d 70 | 6f 6e 65 6e 74 a0 49 6e |) / Comp|onent.In|
|000009c0| 66 6f 20 69 6e 20 6d 65 | 6e 75 20 45 64 69 74 20 |fo in me|nu Edit |
|000009d0| 28 4d 61 63 20 4f 53 29 | 2e 0d 0d 57 68 61 74 20 |(Mac OS)|...What |
|000009e0| 64 6f 20 77 65 20 68 61 | 76 65 20 74 6f 20 69 6d |do we ha|ve to im|
|000009f0| 70 6c 65 6d 65 6e 74 20 | 74 6f 20 6d 61 6b 65 20 |plement |to make |
|00000a00| 74 68 69 73 20 63 6f 6e | 74 72 6f 6c 20 77 6f 72 |this con|trol wor|
|00000a10| 6b 3f 20 49 6e 20 74 68 | 65 20 72 65 6d 61 69 6e |k? In th|e remain|
|00000a20| 64 65 72 20 6f 66 20 74 | 68 69 73 20 61 72 74 69 |der of t|his arti|
|00000a30| 63 6c 65 2c 20 77 65 20 | 77 69 6c 6c 20 67 6f 20 |cle, we |will go |
|00000a40| 74 68 72 6f 75 67 68 20 | 76 61 72 69 6f 75 73 20 |through |various |
|00000a50| 61 73 70 65 63 74 73 20 | 6f 66 20 74 68 65 20 63 |aspects |of the c|
|00000a60| 6f 6e 74 72 6f 6c 20 69 | 6d 70 6c 65 6d 65 6e 74 |ontrol i|mplement|
|00000a70| 61 74 69 6f 6e 20 61 73 | 20 69 74 20 69 73 20 67 |ation as| it is g|
|00000a80| 69 76 65 6e 20 69 6e 20 | 74 68 69 73 20 61 72 74 |iven in |this art|
|00000a90| 69 63 6c 65 27 73 20 6c | 69 73 74 69 6e 67 2e 20 |icle's l|isting. |
|00000aa0| 57 65 20 77 69 6c 6c 20 | 6c 6f 6f 6b 20 61 74 20 |We will |look at |
|00000ab0| 61 6c 6c 20 74 68 65 20 | 70 72 6f 63 65 64 75 72 |all the |procedur|
|00000ac0| 65 73 20 77 68 69 63 68 | 20 6d 75 73 74 20 62 65 |es which| must be|
|00000ad0| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 66 6f 72 | impleme|nted for|
|00000ae0| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 74 6f 20 | the con|trol to |
|00000af0| 77 6f 72 6b 2e 20 41 73 | 20 69 73 20 74 79 70 69 |work. As| is typi|
|00000b00| 63 61 6c 20 66 6f 72 20 | 6f 62 6a 65 63 74 2d 20 |cal for |object- |
|00000b10| 61 6e 64 20 63 6f 6d 70 | 6f 6e 65 6e 74 2d 6f 72 |and comp|onent-or|
|00000b20| 69 65 6e 74 65 64 20 70 | 72 6f 67 72 61 6d 6d 69 |iented p|rogrammi|
|00000b30| 6e 67 2c 20 74 68 65 73 | 65 20 70 72 6f 63 65 64 |ng, thes|e proced|
|00000b40| 75 72 65 73 20 61 72 65 | 20 6d 65 61 6e 74 20 74 |ures are| meant t|
|00000b50| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 62 79 20 74 |o be cal|led by t|
|00000b60| 68 65 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 2c 20 |he envir|onment, |
|00000b70| 6e 6f 74 20 62 79 20 79 | 6f 75 72 73 65 6c 66 2e |not by y|ourself.|
|00000b80| 20 54 68 69 73 20 69 73 | 20 63 61 6c 6c 65 64 20 | This is| called |
|00000b90| 74 68 65 20 48 6f 6c 6c | 79 77 6f 6f 64 20 50 72 |the Holl|ywood Pr|
|00000ba0| 69 6e 63 69 70 6c 65 20 | 6f 66 20 4f 62 6a 65 63 |inciple |of Objec|
|00000bb0| 74 2d 4f 72 69 65 6e 74 | 65 64 20 50 72 6f 67 72 |t-Orient|ed Progr|
|00000bc0| 61 6d 6d 69 6e 67 3a 20 | 44 6f 6e 27 74 20 63 61 |amming: |Don't ca|
|00000bd0| 6c 6c 20 75 73 2c 20 77 | 65 27 6c 6c 20 63 61 6c |ll us, w|e'll cal|
|00000be0| 6c 20 79 6f 75 2e 0d 0d | 54 79 70 69 63 61 6c 6c |l you...|Typicall|
|00000bf0| 79 2c 20 61 20 63 6f 6e | 74 72 6f 6c 20 69 73 20 |y, a con|trol is |
|00000c00| 65 6d 62 65 64 64 65 64 | 20 69 6e 20 61 20 66 6f |embedded| in a fo|
|00000c10| 72 6d 2e 20 57 68 65 6e | 20 74 68 65 20 66 6f 72 |rm. When| the for|
|00000c20| 6d 20 69 73 20 73 74 6f | 72 65 64 20 69 6e 20 61 |m is sto|red in a|
|00000c30| 20 66 69 6c 65 2c 20 69 | 74 20 67 69 76 65 73 20 | file, i|t gives |
|00000c40| 61 6c 6c 20 65 6d 62 65 | 64 64 65 64 20 63 6f 6e |all embe|dded con|
|00000c50| 74 72 6f 6c 73 20 74 68 | 65 20 6f 70 70 6f 72 74 |trols th|e opport|
|00000c60| 75 6e 69 74 79 20 74 6f | 20 65 78 74 65 72 6e 61 |unity to| externa|
|00000c70| 6c 69 7a 65 20 74 68 65 | 6d 73 65 6c 76 65 73 2e |lize the|mselves.|
|00000c80| 20 57 68 65 6e 20 74 68 | 65 20 66 6f 72 6d 20 69 | When th|e form i|
|00000c90| 73 20 72 65 61 64 20 66 | 72 6f 6d 20 61 20 66 69 |s read f|rom a fi|
|00000ca0| 6c 65 2c 20 74 68 65 20 | 66 6f 72 6d 20 61 6c 6c |le, the |form all|
|00000cb0| 6f 63 61 74 65 73 20 74 | 68 65 20 63 6f 6e 74 72 |ocates t|he contr|
|00000cc0| 6f 6c 73 20 61 6e 64 20 | 6c 65 74 73 20 74 68 65 |ols and |lets the|
|00000cd0| 6d 20 69 6e 74 65 72 6e | 61 6c 69 7a 65 20 74 68 |m intern|alize th|
|00000ce0| 65 6d 73 65 6c 76 65 73 | 2e 20 41 20 63 6f 6e 74 |emselves|. A cont|
|00000cf0| 72 6f 6c 20 70 72 6f 67 | 72 61 6d 6d 65 72 20 6e |rol prog|rammer n|
|00000d00| 65 65 64 73 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |eeds to |implemen|
|00000d10| 74 20 74 77 6f 20 70 72 | 6f 63 65 64 75 72 65 73 |t two pr|ocedures|
|00000d20| 20 66 6f 72 20 74 68 69 | 73 20 70 75 72 70 6f 73 | for thi|s purpos|
|00000d30| 65 3a 20 45 78 74 65 72 | 6e 61 6c 69 7a 65 20 61 |e: Exter|nalize a|
|00000d40| 6e 64 20 49 6e 74 65 72 | 6e 61 6c 69 7a 65 2e 20 |nd Inter|nalize. |
|00000d50| 49 6e 20 74 68 65 20 6c | 69 73 74 69 6e 67 20 79 |In the l|isting y|
|00000d60| 6f 75 20 63 61 6e 20 73 | 65 65 20 74 68 61 74 20 |ou can s|ee that |
|00000d70| 74 68 65 20 61 75 78 69 | 6c 69 61 72 79 20 70 72 |the auxi|liary pr|
|00000d80| 6f 63 65 64 75 72 65 73 | 20 56 69 65 77 73 2e 57 |ocedures| Views.W|
|00000d90| 72 69 74 65 46 6f 6e 74 | 20 61 6e 64 20 56 69 65 |riteFont| and Vie|
|00000da0| 77 73 2e 52 65 61 64 46 | 6f 6e 74 20 61 72 65 20 |ws.ReadF|ont are |
|00000db0| 75 73 65 64 2e 20 54 68 | 65 79 20 72 65 6c 69 65 |used. Th|ey relie|
|00000dc0| 76 65 20 79 6f 75 20 66 | 72 6f 6d 20 74 68 65 20 |ve you f|rom the |
|00000dd0| 63 75 6d 62 65 72 73 6f | 6d 65 20 74 61 73 6b 20 |cumberso|me task |
|00000de0| 6f 66 20 77 72 69 74 69 | 6e 67 20 6f 72 20 72 65 |of writi|ng or re|
|00000df0| 61 64 69 6e 67 20 61 20 | 66 6f 6e 74 27 73 20 74 |ading a |font's t|
|00000e00| 79 70 65 66 61 63 65 2c | 20 73 69 7a 65 2c 20 73 |ypeface,| size, s|
|00000e10| 74 79 6c 65 2c 20 61 6e | 64 20 77 65 69 67 68 74 |tyle, an|d weight|
|00000e20| 20 73 65 70 61 72 61 74 | 65 6c 79 2e 0d 0d 54 6f | separat|ely...To|
|00000e30| 20 73 75 70 70 6f 72 74 | 20 63 6f 70 79 69 6e 67 | support| copying|
|00000e40| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 28 65 2e 67 | operati|ons (e.g|
|00000e50| 2e 20 63 75 74 20 61 6e | 64 20 70 61 73 74 65 29 |. cut an|d paste)|
|00000e60| 2c 20 61 20 76 69 65 77 | 20 6d 75 73 74 20 62 65 |, a view| must be|
|00000e70| 20 61 62 6c 65 20 74 6f | 20 63 6f 70 79 20 69 74 | able to| copy it|
|00000e80| 73 20 63 6f 6e 74 65 6e | 74 73 20 74 6f 20 61 6e |s conten|ts to an|
|00000e90| 20 65 6d 70 74 79 20 63 | 6c 6f 6e 65 20 6f 66 20 | empty c|lone of |
|00000ea0| 69 74 73 65 6c 66 2e 20 | 46 6f 72 20 74 68 69 73 |itself. |For this|
|00000eb0| 20 70 75 72 70 6f 73 65 | 2c 20 74 68 65 20 43 6f | purpose|, the Co|
|00000ec0| 70 79 46 72 6f 6d 20 70 | 72 6f 63 65 64 75 72 65 |pyFrom p|rocedure|
|00000ed0| 20 63 6f 70 69 65 73 20 | 74 68 65 20 73 74 61 74 | copies |the stat|
|00000ee0| 65 20 6f 66 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |e of an |existing|
|00000ef0| 20 63 6f 6e 74 72 6f 6c | 20 28 73 6f 75 72 63 65 | control| (source|
|00000f00| 29 20 74 6f 20 61 20 6e | 65 77 6c 79 20 61 6c 6c |) to a n|ewly all|
|00000f10| 6f 63 61 74 65 64 20 62 | 75 74 20 6e 6f 74 20 79 |ocated b|ut not y|
|00000f20| 65 74 20 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 63 |et initi|alized c|
|00000f30| 6f 6e 74 72 6f 6c 2e 0d | 0d 4f 75 72 20 63 6f 6e |ontrol..|.Our con|
|00000f40| 74 72 6f 6c 20 6d 75 73 | 74 20 62 65 20 61 62 6c |trol mus|t be abl|
|00000f50| 65 20 74 6f 20 72 65 64 | 72 61 77 20 69 74 73 20 |e to red|raw its |
|00000f60| 6f 75 74 6c 69 6e 65 20 | 61 6e 64 20 6c 61 62 65 |outline |and labe|
|00000f70| 6c 2c 20 77 68 69 63 68 | 20 69 73 20 74 68 65 20 |l, which| is the |
|00000f80| 70 75 72 70 6f 73 65 20 | 6f 66 20 74 68 65 20 52 |purpose |of the R|
|00000f90| 65 73 74 6f 72 65 20 70 | 72 6f 63 65 64 75 72 65 |estore p|rocedure|
|00000fa0| 2e 20 49 74 20 64 72 61 | 77 73 20 74 68 65 20 6c |. It dra|ws the l|
|00000fb0| 61 62 65 6c 20 69 6e 20 | 74 68 65 20 63 6f 6e 74 |abel in |the cont|
|00000fc0| 72 6f 6c 27 73 20 63 6f | 6c 6f 72 20 61 6e 64 20 |rol's co|lor and |
|00000fd0| 66 6f 6e 74 2e 20 54 68 | 65 20 6c 61 62 65 6c 20 |font. Th|e label |
|00000fe0| 69 73 20 68 6f 72 69 7a | 6f 6e 74 61 6c 6c 79 20 |is horiz|ontally |
|00000ff0| 63 65 6e 74 65 72 65 64 | 2e 20 4e 6f 74 65 20 74 |centered|. Note t|
|00001000| 68 61 74 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 |hat the |control |
|00001010| 64 6f 65 73 6e 27 74 20 | 6e 65 65 64 20 74 6f 20 |doesn't |need to |
|00001020| 64 72 61 77 20 74 68 65 | 20 62 61 63 6b 67 72 6f |draw the| backgro|
|00001030| 75 6e 64 2c 20 74 68 69 | 73 20 69 73 20 68 61 6e |und, thi|s is han|
|00001040| 64 6c 65 64 20 62 79 20 | 74 68 65 20 63 6f 6e 74 |dled by |the cont|
|00001050| 61 69 6e 65 72 2e 20 4f | 6e 6c 79 20 74 68 65 20 |ainer. O|nly the |
|00001060| 66 6f 72 65 67 72 6f 75 | 6e 64 2c 20 69 2e 65 2e |foregrou|nd, i.e.|
|00001070| 20 74 68 65 20 6f 75 74 | 6c 69 6e 65 20 61 6e 64 | the out|line and|
|00001080| 20 74 68 65 20 6c 61 62 | 65 6c 20 61 72 65 20 64 | the lab|el are d|
|00001090| 72 61 77 6e 2e 0d 0d 4f | 66 20 63 6f 75 72 73 65 |rawn...O|f course|
|000010a0| 2c 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 73 68 |, the co|ntrol sh|
|000010b0| 6f 75 6c 64 20 61 6c 73 | 6f 20 62 65 20 61 62 6c |ould als|o be abl|
|000010c0| 65 20 74 6f 20 70 65 72 | 66 6f 72 6d 20 73 6f 6d |e to per|form som|
|000010d0| 65 20 61 63 74 69 6f 6e | 20 77 68 65 6e 20 74 68 |e action| when th|
|000010e0| 65 20 75 73 65 72 20 63 | 6c 69 63 6b 73 20 69 6e |e user c|licks in|
|000010f0| 20 69 74 2e 20 4d 6f 75 | 73 65 20 63 6c 69 63 6b | it. Mou|se click|
|00001100| 73 20 61 6e 64 20 6f 74 | 68 65 72 20 69 6e 74 65 |s and ot|her inte|
|00001110| 72 61 63 74 69 6f 6e 20 | 65 76 65 6e 74 73 20 61 |raction |events a|
|00001120| 72 65 20 68 61 6e 64 6c | 65 64 20 62 79 20 61 20 |re handl|ed by a |
|00001130| 76 69 65 77 27 73 20 48 | 61 6e 64 6c 65 43 74 72 |view's H|andleCtr|
|00001140| 6c 4d 73 67 20 70 72 6f | 63 65 64 75 72 65 2e 20 |lMsg pro|cedure. |
|00001150| 49 6e 20 6f 75 72 20 65 | 78 61 6d 70 6c 65 2c 20 |In our e|xample, |
|00001160| 74 68 69 73 20 70 72 6f | 63 65 64 75 72 65 20 6f |this pro|cedure o|
|00001170| 6e 6c 79 20 72 65 61 63 | 74 73 20 75 70 6f 6e 20 |nly reac|ts upon |
|00001180| 6d 6f 75 73 65 2d 64 6f | 77 6e 20 6d 65 73 73 61 |mouse-do|wn messa|
|00001190| 67 65 73 20 28 65 76 65 | 6e 74 73 29 2e 20 4f 74 |ges (eve|nts). Ot|
|000011a0| 68 65 72 20 69 6e 74 65 | 72 61 63 74 69 6f 6e 73 |her inte|ractions|
|000011b0| 20 73 75 63 68 20 61 73 | 20 6b 65 79 20 70 72 65 | such as| key pre|
|000011c0| 73 73 65 73 20 61 72 65 | 20 6e 6f 74 20 68 61 6e |sses are| not han|
|000011d0| 64 6c 65 64 2c 20 69 6e | 20 6f 72 64 65 72 20 74 |dled, in| order t|
|000011e0| 6f 20 6d 61 6b 65 20 74 | 68 65 20 65 78 61 6d 70 |o make t|he examp|
|000011f0| 6c 65 20 61 73 20 73 69 | 6d 70 6c 65 20 61 73 20 |le as si|mple as |
|00001200| 70 6f 73 73 69 62 6c 65 | 2e 0d 42 61 73 69 63 61 |possible|..Basica|
|00001210| 6c 6c 79 2c 20 74 68 65 | 20 70 72 6f 63 65 64 75 |lly, the| procedu|
|00001220| 72 65 27 73 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |re's imp|lementat|
|00001230| 69 6f 6e 20 63 6f 6e 73 | 69 73 74 20 6f 66 20 61 |ion cons|ist of a|
|00001240| 20 6d 6f 75 73 65 20 74 | 72 61 63 6b 69 6e 67 20 | mouse t|racking |
|00001250| 6c 6f 6f 70 2c 20 77 68 | 69 63 68 20 74 65 72 6d |loop, wh|ich term|
|00001260| 69 6e 61 74 65 73 20 77 | 68 65 6e 20 74 68 65 20 |inates w|hen the |
|00001270| 75 73 65 72 20 72 65 6c | 65 61 73 65 73 20 74 68 |user rel|eases th|
|00001280| 65 20 28 70 72 69 6d 61 | 72 79 29 20 6d 6f 75 73 |e (prima|ry) mous|
|00001290| 65 20 62 75 74 74 6f 6e | 2e 20 54 68 65 20 6c 6f |e button|. The lo|
|000012a0| 6f 70 20 69 73 20 70 72 | 6f 67 72 61 6d 6d 65 64 |op is pr|ogrammed|
|000012b0| 20 73 75 63 68 20 74 68 | 61 74 20 74 68 65 20 63 | such th|at the c|
|000012c0| 6f 6e 74 72 6f 6c 27 73 | 20 72 65 63 74 61 6e 67 |ontrol's| rectang|
|000012d0| 6c 65 20 69 73 20 69 6e | 76 65 72 74 65 64 20 61 |le is in|verted a|
|000012e0| 73 20 6c 6f 6e 67 20 61 | 73 20 74 68 65 20 6d 6f |s long a|s the mo|
|000012f0| 75 73 65 20 69 73 20 6c | 6f 63 61 74 65 64 20 6f |use is l|ocated o|
|00001300| 76 65 72 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 2c |ver the |control,|
|00001310| 20 61 6e 64 20 6e 6f 74 | 20 69 6e 76 65 72 74 65 | and not| inverte|
|00001320| 64 20 6f 74 68 65 72 77 | 69 73 65 2e 0d 49 66 20 |d otherw|ise..If |
|00001330| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 72 65 6c |the mous|e is rel|
|00001340| 65 61 73 65 64 20 6f 76 | 65 72 20 74 68 65 20 63 |eased ov|er the c|
|00001350| 6f 6e 74 72 6f 6c 2c 20 | 74 68 65 20 69 6e 76 65 |ontrol, |the inve|
|00001360| 72 73 69 6f 6e 20 69 73 | 20 72 65 6d 6f 76 65 64 |rsion is| removed|
|00001370| 20 61 6e 64 20 74 68 65 | 20 73 74 72 69 6e 67 20 | and the| string |
|00001380| 69 6e 20 76 2e 6c 69 6e | 6b 20 70 61 73 73 65 64 |in v.lin|k passed|
|00001390| 20 74 6f 20 74 68 65 20 | 44 69 61 6c 6f 67 2e 43 | to the |Dialog.C|
|000013a0| 61 6c 6c 20 70 72 6f 63 | 65 64 75 72 65 2e 20 54 |all proc|edure. T|
|000013b0| 68 69 73 20 70 72 6f 63 | 65 64 75 72 65 20 62 61 |his proc|edure ba|
|000013c0| 73 69 63 61 6c 6c 79 20 | 69 6d 70 6c 65 6d 65 6e |sically |implemen|
|000013d0| 74 73 20 61 6e 20 69 6e | 74 65 72 70 72 65 74 65 |ts an in|terprete|
|000013e0| 72 20 66 6f 72 20 4f 62 | 65 72 6f 6e 20 63 6f 6d |r for Ob|eron com|
|000013f0| 6d 61 6e 64 73 2c 20 69 | 2e 65 2e 20 73 74 72 69 |mands, i|.e. stri|
|00001400| 6e 67 73 20 73 75 63 68 | 20 61 73 20 22 44 69 61 |ngs such| as "Dia|
|00001410| 6c 6f 67 2e 42 65 65 70 | 22 20 63 61 6e 20 62 65 |log.Beep|" can be|
|00001420| 20 65 78 65 63 75 74 65 | 64 20 61 74 20 72 75 6e | execute|d at run|
|00001430| 2d 74 69 6d 65 2e 0d 0d | 4f 62 65 72 6f 6e 2f 46 |-time...|Oberon/F|
|00001440| 20 70 72 65 64 65 66 69 | 6e 65 73 20 73 6f 6d 65 | predefi|nes some|
|00001450| 20 73 74 61 6e 64 61 72 | 64 20 73 79 73 74 65 6d | standar|d system|
|00001460| 20 61 6e 64 20 63 6f 6e | 74 72 6f 6c 20 70 72 6f | and con|trol pro|
|00001470| 70 65 72 74 69 65 73 2e | 20 54 68 65 20 73 79 73 |perties.| The sys|
|00001480| 74 65 6d 20 70 72 6f 70 | 65 72 74 69 65 73 20 61 |tem prop|erties a|
|00001490| 72 65 20 74 68 65 20 6f | 6e 65 73 20 74 68 61 74 |re the o|nes that|
|000014a0| 20 63 61 6e 20 62 65 20 | 63 68 61 6e 67 65 64 20 | can be |changed |
|000014b0| 76 69 61 20 74 68 65 20 | 43 68 61 72 61 63 74 65 |via the |Characte|
|000014c0| 72 73 20 6d 65 6e 75 73 | 20 28 46 6f 6e 74 2c 20 |rs menus| (Font, |
|000014d0| 41 74 74 72 69 62 75 74 | 65 73 20 6d 65 6e 75 73 |Attribut|es menus|
|000014e0| 20 6f 6e 20 4d 61 63 20 | 4f 53 29 2c 20 69 2e 65 | on Mac |OS), i.e|
|000014f0| 2e 20 66 6f 6e 74 20 61 | 6e 64 20 63 6f 6c 6f 72 |. font a|nd color|
|00001500| 2e 20 54 68 65 20 63 6f | 6e 74 72 6f 6c 20 70 72 |. The co|ntrol pr|
|00001510| 6f 70 65 72 74 69 65 73 | 20 61 72 65 20 74 68 65 |operties| are the|
|00001520| 20 6f 6e 65 73 20 64 65 | 66 69 6e 65 64 20 69 6e | ones de|fined in|
|00001530| 20 6d 6f 64 75 6c 65 20 | 43 6f 6e 74 72 6f 6c 73 | module |Controls|
|00001540| 2c 20 61 6e 64 20 63 68 | 61 6e 67 65 61 62 6c 65 |, and ch|angeable|
|00001550| 20 76 69 61 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c | via the| control|
|00001560| 20 70 72 6f 70 65 72 74 | 79 20 69 6e 73 70 65 63 | propert|y inspec|
|00001570| 74 6f 72 2e 20 54 68 65 | 72 65 20 69 73 20 61 20 |tor. The|re is a |
|00001580| 6d 65 73 73 61 67 65 20 | 74 68 61 74 20 4f 62 65 |message |that Obe|
|00001590| 72 6f 6e 2f 46 20 75 73 | 65 73 20 74 6f 20 70 6f |ron/F us|es to po|
|000015a0| 6c 6c 20 61 20 76 69 65 | 77 27 73 20 70 72 6f 70 |ll a vie|w's prop|
|000015b0| 65 72 74 69 65 73 20 28 | 50 72 6f 70 65 72 74 69 |erties (|Properti|
|000015c0| 65 73 2e 50 6f 6c 6c 4d | 73 67 29 2c 20 61 6e 64 |es.PollM|sg), and|
|000015d0| 20 61 20 6d 65 73 73 61 | 67 65 20 74 6f 20 6d 6f | a messa|ge to mo|
|000015e0| 64 69 66 79 20 61 20 76 | 69 65 77 27 73 20 70 72 |dify a v|iew's pr|
|000015f0| 6f 70 65 72 74 69 65 73 | 20 28 50 72 6f 70 65 72 |operties| (Proper|
|00001600| 74 69 65 73 2e 53 65 74 | 4d 73 67 29 2e 20 52 65 |ties.Set|Msg). Re|
|00001610| 74 75 72 6e 69 6e 67 20 | 61 20 63 6f 6e 74 72 6f |turning |a contro|
|00001620| 6c 27 73 20 70 72 6f 70 | 65 72 74 69 65 73 20 69 |l's prop|erties i|
|00001630| 73 20 65 61 73 79 3a 20 | 61 6c 6c 6f 63 61 74 65 |s easy: |allocate|
|00001640| 20 74 68 65 20 73 75 69 | 74 61 62 6c 65 20 70 72 | the sui|table pr|
|00001650| 6f 70 65 72 74 79 20 64 | 65 73 63 72 69 70 74 6f |operty d|escripto|
|00001660| 72 73 20 28 50 72 6f 70 | 65 72 74 69 65 73 2e 53 |rs (Prop|erties.S|
|00001670| 74 64 50 72 6f 70 20 61 | 6e 64 20 43 6f 6e 74 72 |tdProp a|nd Contr|
|00001680| 6f 6c 73 2e 50 72 6f 70 | 29 2c 20 61 73 73 69 67 |ols.Prop|), assig|
|00001690| 6e 20 74 68 65 69 72 20 | 61 70 70 72 6f 70 72 69 |n their |appropri|
|000016a0| 61 74 65 20 66 69 65 6c | 64 73 2c 20 69 2e 65 2e |ate fiel|ds, i.e.|
|000016b0| 20 74 79 70 65 66 61 63 | 65 2c 20 73 69 7a 65 2c | typefac|e, size,|
|000016c0| 20 73 74 79 6c 65 20 77 | 65 69 67 68 74 2c 20 6c | style w|eight, l|
|000016d0| 69 6e 6b 2c 20 61 6e 64 | 20 6c 61 62 65 6c 2c 20 |ink, and| label, |
|000016e0| 61 6e 64 20 73 69 67 6e | 61 6c 20 74 68 61 74 20 |and sign|al that |
|000016f0| 74 68 6f 73 65 20 61 72 | 65 20 74 68 65 20 76 61 |those ar|e the va|
|00001700| 6c 69 64 20 70 72 6f 70 | 65 72 74 69 65 73 20 74 |lid prop|erties t|
|00001710| 68 61 74 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 |hat the |control |
|00001720| 6b 6e 6f 77 73 20 61 62 | 6f 75 74 2e 20 46 6f 72 |knows ab|out. For|
|00001730| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 73 79 | the sta|ndard sy|
|00001740| 73 74 65 6d 20 70 72 6f | 70 65 72 74 69 65 73 2c |stem pro|perties,|
|00001750| 20 74 68 69 73 20 69 73 | 20 64 6f 6e 65 20 69 6e | this is| done in|
|00001760| 20 74 68 65 20 61 75 78 | 69 6c 69 61 72 79 20 70 | the aux|iliary p|
|00001770| 72 6f 63 65 64 75 72 65 | 20 47 65 74 53 74 64 50 |rocedure| GetStdP|
|00001780| 72 6f 70 2e 20 54 68 65 | 20 6f 74 68 65 72 20 63 |rop. The| other c|
|00001790| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 70 72 6f |orrespon|ding pro|
|000017a0| 63 65 64 75 72 65 20 53 | 65 74 53 74 64 50 72 6f |cedure S|etStdPro|
|000017b0| 70 20 69 73 20 73 6c 69 | 67 68 74 6c 79 20 6d 6f |p is sli|ghtly mo|
|000017c0| 72 65 20 63 6f 6d 70 6c | 69 63 61 74 65 64 2c 20 |re compl|icated, |
|000017d0| 62 65 63 61 75 73 65 20 | 66 6f 72 20 65 61 63 68 |because |for each|
|000017e0| 20 70 72 6f 70 65 72 74 | 79 20 69 74 20 6d 75 73 | propert|y it mus|
|000017f0| 74 20 62 65 20 74 65 73 | 74 65 64 20 77 68 65 74 |t be tes|ted whet|
|00001800| 68 65 72 20 74 68 65 79 | 20 6e 65 65 64 20 74 6f |her they| need to|
|00001810| 20 62 65 20 63 68 61 6e | 67 65 64 20 6f 72 20 72 | be chan|ged or r|
|00001820| 65 74 61 69 6e 65 64 2e | 20 41 66 74 65 72 20 61 |etained.| After a|
|00001830| 6c 6c 2c 20 74 68 65 20 | 75 73 65 72 20 6d 61 79 |ll, the |user may|
|00001840| 20 6a 75 73 74 20 68 61 | 76 65 20 63 68 61 6e 67 | just ha|ve chang|
|00001850| 65 64 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 27 73 |ed the c|ontrol's|
|00001860| 20 63 6f 6c 6f 72 20 77 | 69 74 68 6f 75 74 20 63 | color w|ithout c|
|00001870| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 66 6f 6e 74 |hanging |the font|
|00001880| 2e 0d 54 68 65 20 77 68 | 6f 6c 65 20 70 72 6f 70 |..The wh|ole prop|
|00001890| 65 72 74 79 20 68 61 6e | 64 6c 69 6e 67 20 69 73 |erty han|dling is|
|000018a0| 20 68 65 6c 64 20 74 6f | 67 65 74 68 65 72 20 62 | held to|gether b|
|000018b0| 79 20 74 68 65 20 76 69 | 65 77 27 73 20 48 61 6e |y the vi|ew's Han|
|000018c0| 64 6c 65 50 72 6f 70 4d | 73 67 20 70 72 6f 63 65 |dlePropM|sg proce|
|000018d0| 64 75 72 65 2c 20 77 68 | 65 72 65 20 74 68 65 20 |dure, wh|ere the |
|000018e0| 50 6f 6c 6c 4d 73 67 20 | 61 6e 64 20 53 65 74 4d |PollMsg |and SetM|
|000018f0| 73 67 20 6d 65 73 73 61 | 67 65 73 20 61 72 65 20 |sg messa|ges are |
|00001900| 72 65 63 6f 67 6e 69 7a | 65 64 2e 20 46 6f 72 20 |recogniz|ed. For |
|00001910| 74 68 65 20 53 65 74 4d | 73 67 2c 20 61 6c 6c 20 |the SetM|sg, all |
|00001920| 65 6c 65 6d 65 6e 74 73 | 20 6f 66 20 69 74 73 20 |elements| of its |
|00001930| 70 72 6f 70 65 72 74 79 | 20 6c 69 73 74 20 61 72 |property| list ar|
|00001940| 65 20 74 72 61 76 65 72 | 73 65 64 20 61 6e 64 20 |e traver|sed and |
|00001950| 65 78 69 73 74 69 6e 67 | 20 73 79 73 74 65 6d 20 |existing| system |
|00001960| 61 6e 64 20 63 6f 6e 74 | 72 6f 6c 20 70 72 6f 70 |and cont|rol prop|
|00001970| 65 72 74 69 65 73 20 61 | 72 65 20 70 69 63 6b 65 |erties a|re picke|
|00001980| 64 20 6f 75 74 2e 20 54 | 68 69 73 20 69 73 20 64 |d out. T|his is d|
|00001990| 6f 6e 65 20 73 69 6e 63 | 65 20 6f 62 76 69 6f 75 |one sinc|e obviou|
|000019a0| 73 6c 79 20 61 20 63 6f | 6e 74 72 6f 6c 20 63 61 |sly a co|ntrol ca|
|000019b0| 6e 6e 6f 74 20 73 65 74 | 20 70 72 6f 70 65 72 74 |nnot set| propert|
|000019c0| 69 65 73 20 69 74 20 64 | 6f 65 73 6e 27 74 20 6b |ies it d|oesn't k|
|000019d0| 6e 6f 77 2e 0d 43 68 61 | 6e 67 65 73 20 6f 66 20 |now..Cha|nges of |
|000019e0| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 27 73 20 70 72 |the cont|rol's pr|
|000019f0| 6f 70 65 72 74 69 65 73 | 20 61 72 65 20 62 72 61 |operties| are bra|
|00001a00| 63 6b 65 74 65 64 20 62 | 79 20 63 61 6c 6c 73 20 |cketed b|y calls |
|00001a10| 74 6f 20 56 69 65 77 73 | 2e 42 65 67 69 6e 4d 6f |to Views|.BeginMo|
|00001a20| 64 69 66 69 63 61 74 69 | 6f 6e 20 61 6e 64 20 56 |dificati|on and V|
|00001a30| 69 65 77 73 2e 45 6e 64 | 4d 6f 64 69 66 69 63 61 |iews.End|Modifica|
|00001a40| 74 69 6f 6e 2e 20 54 68 | 65 73 65 20 70 72 6f 63 |tion. Th|ese proc|
|00001a50| 65 64 75 72 65 73 20 74 | 65 6c 6c 20 4f 62 65 72 |edures t|ell Ober|
|00001a60| 6f 6e 2f 46 20 74 68 61 | 74 20 73 6f 6d 65 20 6f |on/F tha|t some o|
|00001a70| 70 65 72 61 74 69 6f 6e | 20 77 61 73 20 70 65 72 |peration| was per|
|00001a80| 66 6f 72 6d 65 64 20 74 | 68 61 74 20 63 61 6e 6e |formed t|hat cann|
|00001a90| 6f 74 20 62 65 20 75 6e | 64 6f 6e 65 2e 20 55 6e |ot be un|done. Un|
|00001aa0| 64 6f 20 73 75 70 70 6f | 72 74 20 77 6f 75 6c 64 |do suppo|rt would|
|00001ab0| 20 6e 6f 74 20 62 65 20 | 6d 75 63 68 20 6d 6f 72 | not be |much mor|
|00001ac0| 65 20 63 6f 6d 70 6c 69 | 63 61 74 65 64 2c 20 62 |e compli|cated, b|
|00001ad0| 75 74 20 73 74 69 6c 6c | 20 61 20 62 69 74 20 6f |ut still| a bit o|
|00001ae0| 76 65 72 6b 69 6c 6c 20 | 66 6f 72 20 74 68 69 73 |verkill |for this|
|00001af0| 20 65 78 61 6d 70 6c 65 | 20 68 65 72 65 2e 0d 54 | example| here..T|
|00001b00| 68 65 20 63 61 6c 6c 73 | 20 74 6f 20 56 69 65 77 |he calls| to View|
|00001b10| 73 2e 55 70 64 61 74 65 | 20 73 69 67 6e 61 6c 20 |s.Update| signal |
|00001b20| 4f 62 65 72 6f 6e 2f 46 | 20 74 68 61 74 20 74 68 |Oberon/F| that th|
|00001b30| 65 20 63 6f 6e 74 72 6f | 6c 27 73 20 76 69 73 69 |e contro|l's visi|
|00001b40| 62 6c 65 20 61 72 65 61 | 20 73 68 6f 75 6c 64 20 |ble area| should |
|00001b50| 62 65 20 72 65 73 74 6f | 72 65 64 20 61 73 20 73 |be resto|red as s|
|00001b60| 6f 6f 6e 20 61 73 20 4f | 62 65 72 6f 6e 2f 46 20 |oon as O|beron/F |
|00001b70| 69 73 20 69 64 6c 65 20 | 61 67 61 69 6e 2c 20 69 |is idle |again, i|
|00001b80| 2e 65 2e 20 77 68 65 6e | 20 74 68 65 20 63 75 72 |.e. when| the cur|
|00001b90| 72 65 6e 74 20 63 6f 6d | 6d 61 6e 64 20 68 61 73 |rent com|mand has|
|00001ba0| 20 74 65 72 6d 69 6e 61 | 74 65 64 2e 0d 49 6e 20 | termina|ted..In |
|00001bb0| 48 61 6e 64 6c 65 50 72 | 6f 70 4d 73 67 2c 20 74 |HandlePr|opMsg, t|
|00001bc0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 61 6c 73 6f 20 |he contr|ol also |
|00001bd0| 61 6e 73 77 65 72 73 20 | 73 6f 6d 65 20 70 72 65 |answers |some pre|
|00001be0| 66 65 72 65 6e 63 65 73 | 2e 20 50 72 65 66 65 72 |ferences|. Prefer|
|00001bf0| 65 6e 63 65 73 20 61 72 | 65 20 6d 65 73 73 61 67 |ences ar|e messag|
|00001c00| 65 73 20 74 68 61 74 20 | 61 20 63 6f 6e 74 61 69 |es that |a contai|
|00001c10| 6e 65 72 20 76 69 65 77 | 20 28 65 2e 67 2e 20 61 |ner view| (e.g. a|
|00001c20| 20 66 6f 72 6d 29 20 73 | 65 6e 64 73 20 74 6f 20 | form) s|ends to |
|00001c30| 69 74 73 20 63 6f 6e 74 | 61 69 6e 65 64 20 76 69 |its cont|ained vi|
|00001c40| 65 77 73 20 28 65 2e 67 | 2e 20 74 68 65 20 63 6f |ews (e.g|. the co|
|00001c50| 6e 74 72 6f 6c 73 29 2e | 20 54 68 65 69 72 20 70 |ntrols).| Their p|
|00001c60| 75 72 70 6f 73 65 20 69 | 73 20 74 6f 20 63 75 73 |urpose i|s to cus|
|00001c70| 74 6f 6d 69 7a 65 20 74 | 68 65 20 63 6f 6e 74 61 |tomize t|he conta|
|00001c80| 69 6e 65 72 27 73 20 62 | 65 68 61 76 69 6f 72 20 |iner's b|ehavior |
|00001c90| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 69 74 73 |accordin|g to its|
|00001ca0| 20 63 6f 6e 74 65 6e 74 | 73 2e 20 41 20 63 6f 6e | content|s. A con|
|00001cb0| 74 61 69 6e 65 72 20 69 | 73 20 6e 6f 74 20 6f 62 |tainer i|s not ob|
|00001cc0| 6c 69 67 65 64 20 74 6f | 20 61 73 6b 20 65 6d 62 |liged to| ask emb|
|00001cd0| 65 64 64 65 64 20 76 69 | 65 77 73 20 66 6f 72 20 |edded vi|ews for |
|00001ce0| 74 68 65 69 72 20 70 72 | 65 66 65 72 65 6e 63 65 |their pr|eference|
|00001cf0| 73 2c 20 62 75 74 20 22 | 73 6f 63 69 61 6c 6c 79 |s, but "|socially|
|00001d00| 20 72 65 73 70 6f 6e 73 | 69 62 6c 65 22 20 63 6f | respons|ible" co|
|00001d10| 6e 74 61 69 6e 65 72 73 | 20 28 65 2e 67 2e 20 74 |ntainers| (e.g. t|
|00001d20| 65 78 74 73 20 61 6e 64 | 20 66 6f 72 6d 73 29 20 |exts and| forms) |
|00001d30| 64 6f 20 73 6f 2e 20 46 | 6f 72 20 65 78 61 6d 70 |do so. F|or examp|
|00001d40| 6c 65 2c 20 61 20 63 6f | 6e 74 72 6f 6c 20 77 68 |le, a co|ntrol wh|
|00001d50| 69 63 68 20 64 6f 65 73 | 6e 27 74 20 79 65 74 20 |ich does|n't yet |
|00001d60| 68 61 76 65 20 61 20 64 | 65 66 69 6e 65 64 20 77 |have a d|efined w|
|00001d70| 69 64 74 68 20 6f 72 20 | 68 65 69 67 68 74 20 69 |idth or |height i|
|00001d80| 73 20 61 73 6b 65 64 20 | 66 6f 72 20 69 74 73 20 |s asked |for its |
|00001d90| 70 72 65 66 65 72 72 65 | 64 20 73 69 7a 65 20 28 |preferre|d size (|
|00001da0| 50 72 6f 70 65 72 74 69 | 65 73 2e 53 69 7a 65 4d |Properti|es.SizeM|
|00001db0| 73 67 29 2e 20 57 69 74 | 68 20 74 68 65 20 50 72 |sg). Wit|h the Pr|
|00001dc0| 6f 70 65 72 74 69 65 73 | 2e 46 6f 63 75 73 50 72 |operties|.FocusPr|
|00001dd0| 65 66 20 70 72 65 66 65 | 72 65 6e 63 65 2c 20 61 |ef prefe|rence, a|
|00001de0| 20 76 69 65 77 20 63 61 | 6e 20 69 6e 66 6c 75 65 | view ca|n influe|
|00001df0| 6e 63 65 20 68 6f 77 20 | 69 74 20 69 73 20 74 72 |nce how |it is tr|
|00001e00| 65 61 74 65 64 20 77 68 | 65 6e 20 74 68 65 20 6d |eated wh|en the m|
|00001e10| 6f 75 73 65 20 69 73 20 | 63 6c 69 63 6b 65 64 20 |ouse is |clicked |
|00001e20| 69 6e 20 69 74 2e 20 4f | 75 72 20 63 6f 6e 74 72 |in it. O|ur contr|
|00001e30| 6f 6c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |ol indic|ates tha|
|00001e40| 74 20 69 74 20 69 73 20 | 61 20 68 6f 74 20 66 6f |t it is |a hot fo|
|00001e50| 63 75 73 2c 20 69 2e 65 | 2e 20 69 74 20 72 65 6c |cus, i.e|. it rel|
|00001e60| 65 61 73 65 73 20 69 74 | 73 20 66 6f 63 75 73 20 |eases it|s focus |
|00001e70| 69 6d 6d 65 64 69 61 74 | 65 6c 79 20 61 66 74 65 |immediat|ely afte|
|00001e80| 72 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 72 |r the mo|use is r|
|00001e90| 65 6c 65 61 73 65 64 2e | 0d 0d 46 69 6e 61 6c 6c |eleased.|..Finall|
|00001ea0| 79 2c 20 74 68 65 20 4e | 65 77 20 70 72 6f 63 65 |y, the N|ew proce|
|00001eb0| 64 75 72 65 20 63 72 65 | 61 74 65 73 20 61 20 6e |dure cre|ates a n|
|00001ec0| 65 77 20 63 6f 6e 74 72 | 6f 6c 2c 20 61 6e 64 20 |ew contr|ol, and |
|00001ed0| 74 68 65 20 44 65 70 6f | 73 69 74 20 70 72 6f 63 |the Depo|sit proc|
|00001ee0| 65 64 75 72 65 20 64 65 | 70 6f 73 69 74 73 20 73 |edure de|posits s|
|00001ef0| 75 63 68 20 61 20 6e 65 | 77 20 63 6f 6e 74 72 6f |uch a ne|w contro|
|00001f00| 6c 20 69 6e 20 61 20 73 | 79 73 74 65 6d 20 71 75 |l in a s|ystem qu|
|00001f10| 65 75 65 20 6f 66 20 4f | 62 65 72 6f 6e 2f 46 2e |eue of O|beron/F.|
|00001f20| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 74 68 | For exa|mple, th|
|00001f30| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6d 6d |e follow|ing comm|
|00001f40| 61 6e 64 20 73 65 71 75 | 65 6e 63 65 20 63 61 6e |and sequ|ence can|
|00001f50| 20 62 65 20 75 73 65 64 | 20 74 6f 20 70 75 74 20 | be used| to put |
|00001f60| 61 20 6e 65 77 20 63 6f | 6e 74 72 6f 6c 20 69 6e |a new co|ntrol in|
|00001f70| 74 6f 20 74 68 69 73 20 | 71 75 65 75 65 3a 0d 0d |to this |queue:..|
|00001f80| 02 20 22 4f 62 78 42 75 | 74 74 6f 6e 73 2e 44 65 |. "ObxBu|ttons.De|
|00001f90| 70 6f 73 69 74 3b 20 53 | 74 64 43 6d 64 73 2e 50 |posit; S|tdCmds.P|
|00001fa0| 61 73 74 65 56 69 65 77 | 22 0d 0d 41 6e 64 20 61 |asteView|"..And a|
|00001fb0| 6c 72 65 61 64 79 20 77 | 65 20 61 72 65 20 74 68 |lready w|e are th|
|00001fc0| 72 6f 75 67 68 20 77 69 | 74 68 20 74 68 65 20 64 |rough wi|th the d|
|00001fd0| 69 73 63 75 73 73 69 6f | 6e 20 6f 66 20 74 68 65 |iscussio|n of the|
|00001fe0| 20 77 68 6f 6c 65 20 63 | 6f 6e 74 72 6f 6c 20 69 | whole c|ontrol i|
|00001ff0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 21 20 45 |mplement|ation! E|
|00002000| 76 65 6e 20 74 68 6f 75 | 67 68 20 77 65 20 68 61 |ven thou|gh we ha|
|00002010| 76 65 6e 27 74 20 61 64 | 64 72 65 73 73 65 64 20 |ven't ad|dressed |
|00002020| 73 6f 6d 65 20 6d 6f 72 | 65 20 61 64 76 61 6e 63 |some mor|e advanc|
|00002030| 65 64 20 69 73 73 75 65 | 73 20 73 75 63 68 20 61 |ed issue|s such a|
|00002040| 73 20 6b 65 79 62 6f 61 | 72 64 20 73 68 6f 72 74 |s keyboa|rd short|
|00002050| 63 75 74 73 20 66 6f 72 | 20 63 6f 6e 74 72 6f 6c |cuts for| control|
|00002060| 73 2c 20 61 6e 64 20 68 | 6f 77 20 61 20 63 6f 6e |s, and h|ow a con|
|00002070| 74 72 6f 6c 20 63 61 6e | 20 62 65 20 6c 69 6e 6b |trol can| be link|
|00002080| 65 64 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 76 61 |ed to pr|ogram va|
|00002090| 72 69 61 62 6c 65 73 20 | 69 6e 73 74 65 61 64 20 |riables |instead |
|000020a0| 6f 66 20 63 6f 6d 6d 61 | 6e 64 73 2c 20 69 74 20 |of comma|nds, it |
|000020b0| 73 74 69 6c 6c 20 69 73 | 20 61 20 63 6f 6d 70 6c |still is| a compl|
|000020c0| 65 74 65 20 63 6f 6e 74 | 72 6f 6c 20 69 6d 70 6c |ete cont|rol impl|
|000020d0| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 74 68 61 74 20 |ementati|on that |
|000020e0| 66 69 74 73 20 6f 6e 20 | 74 77 6f 20 70 61 67 65 |fits on |two page|
|000020f0| 73 2e 20 43 6f 6d 70 61 | 72 65 20 74 68 69 73 20 |s. Compa|re this |
|00002100| 74 6f 20 6f 74 68 65 72 | 20 73 79 73 74 65 6d 73 |to other| systems|
|00002110| 20 77 68 65 72 65 20 79 | 6f 75 20 63 61 6e 27 74 | where y|ou can't|
|00002120| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 6e 65 77 20 63 | impleme|nt new c|
|00002130| 6f 6e 74 72 6f 6c 73 20 | 61 74 20 61 6c 6c 2c 20 |ontrols |at all, |
|00002140| 6f 72 20 77 68 65 72 65 | 20 69 74 20 74 61 6b 65 |or where| it take|
|00002150| 73 20 6d 61 6e 79 20 70 | 61 67 65 73 20 6f 66 20 |s many p|ages of |
|00002160| 63 6f 64 65 20 61 6e 64 | 20 63 6f 6d 70 6c 65 78 |code and| complex|
|00002170| 20 41 50 49 73 20 74 6f | 20 61 63 68 69 65 76 65 | APIs to| achieve|
|00002180| 20 74 68 65 20 73 61 6d | 65 20 65 66 66 65 63 74 | the sam|e effect|
|00002190| 2e 0d 0d 02 4f 62 78 42 | 75 74 74 6f 6e 73 a0 a0 |....ObxB|uttons..|
|000021a0| 73 6f 75 72 63 65 73 02 | 82 f1 54 65 78 74 43 6f |sources.|..TextCo|
|000021b0| 6e 74 72 6f 6c 6c 65 72 | 73 2e 53 74 64 43 74 72 |ntroller|s.StdCtr|
|000021c0| 6c 44 65 73 63 00 f1 54 | 65 78 74 43 6f 6e 74 72 |lDesc..T|extContr|
|000021d0| 6f 6c 6c 65 72 73 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |ollers.C|ontrolle|
|000021e0| 72 44 65 73 63 00 f1 43 | 6f 6e 74 61 69 6e 65 72 |rDesc..C|ontainer|
|000021f0| 73 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 44 65 73 63 |s.Contro|llerDesc|
|00002200| 00 f1 43 6f 6e 74 72 6f | 6c 6c 65 72 73 2e 43 6f |..Contro|llers.Co|
|00002210| 6e 74 72 6f 6c 6c 65 72 | 44 65 73 63 00 f2 04 00 |ntroller|Desc....|
|00002220| 00 00 00 00 00 00 14 00 | 00 00 00 00 00 00 09 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 01 82 f1 |........|........|
|00002240| 54 65 78 74 52 75 6c 65 | 72 73 2e 53 74 64 52 75 |TextRule|rs.StdRu|
|00002250| 6c 65 72 44 65 73 63 00 | f1 54 65 78 74 52 75 6c |lerDesc.|.TextRul|
|00002260| 65 72 73 2e 52 75 6c 65 | 72 44 65 73 63 00 f2 03 |ers.Rule|rDesc...|
|00002270| 00 00 00 00 00 00 00 ab | 00 00 00 07 00 00 00 a3 |........|........|
|00002280| 00 00 00 00 00 00 83 f1 | 54 65 78 74 52 75 6c 65 |........|TextRule|
|00002290| 72 73 2e 53 74 64 53 74 | 79 6c 65 44 65 73 63 00 |rs.StdSt|yleDesc.|
|000022a0| f1 54 65 78 74 52 75 6c | 65 72 73 2e 53 74 79 6c |.TextRul|ers.Styl|
|000022b0| 65 44 65 73 63 00 f2 07 | 00 00 00 00 00 00 00 00 |eDesc...|........|
|000022c0| 00 00 00 08 00 00 00 5a | 00 00 00 00 00 00 00 82 |.......Z|........|
|000022d0| f1 54 65 78 74 52 75 6c | 65 72 73 2e 41 74 74 72 |.TextRul|ers.Attr|
|000022e0| 69 62 75 74 65 73 44 65 | 73 63 00 f2 04 00 00 00 |ibutesDe|sc......|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 24 00 00 00 |........|....$...|
|00002300| 00 01 00 00 00 00 00 00 | 00 00 60 bc 5b 00 00 00 |........|..`.[...|
|00002310| 00 00 00 00 00 00 c0 a8 | 00 00 01 00 00 00 01 00 |........|........|
|00002320| 00 00 00 00 00 00 82 f2 | 0d 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 22 00 00 00 00 00 00 00 |........|".......|
|00002340| 00 01 00 00 00 00 48 65 | 6c 76 65 74 69 63 61 00 |......He|lvetica.|
|00002350| 7c be 01 00 00 00 00 00 | 90 01 00 00 00 00 00 00 ||.......|........|
|00002360| 00 00 00 00 00 00 e0 8c | 01 00 e0 8c 01 00 40 49 |........|......@I|
|00002370| 5d 00 e0 b9 3b 3e 82 f1 | 44 6f 63 75 6d 65 6e 74 |]...;>..|Document|
|00002380| 73 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 44 65 73 63 |s.Contro|llerDesc|
|00002390| 00 f2 13 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 08 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|000023b0| 94 4d 73 00 18 2b a3 00 | 80 fc 0a 00 80 fc 0a 00 |.Ms..+..|........|
|000023c0| e0 b8 66 00 98 2e 98 00 | 00 00 00 00 00 00 00 00 |..f.....|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 00 00 01 00 00 00 01 0c | 00 00 00 0c 00 00 00 32 |........|.......2|
|00002410| 00 00 15 90 06 44 69 61 | 6c 6f 67 44 02 00 00 00 |.....Dia|logD....|
|00002420| 6f 4f 44 43 6f 62 6e 46 | 01 00 ff ff ff ff 00 00 |oODCobnF|........|
|00002430| 07 42 75 74 74 6f 6e 73 | 02 00 00 00 50 61 72 74 |.Buttons|....Part|
|00002440| 53 49 54 21 00 00 00 00 | 00 00 00 00 00 00 48 67 |SIT!....|......Hg|
|00002450| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 00 00 ae 04 81 a5 00 00 | 00 00 00 00 01 3e 00 00 |........|.....>..|
|00002480| 00 00 0c 00 00 00 15 90 | 06 47 72 61 70 68 73 47 |........|.GraphsG|
|00002490| 02 00 02 00 6f 4f 44 43 | 6f 62 6e 46 01 00 ff ff |....oODC|obnF....|
|000024a0| ff ff 00 00 00 00 15 9a | 00 00 00 00 1a 13 00 00 |........|........|
|000024b0| 22 00 00 00 00 00 01 3e | 00 00 22 00 ed a4 2c 6f |"......>|.."...,o|
|000024c0| ad 07 1a 94 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 80 00 00 00 00 00 00 00 | 00 00 38 64 00 01 00 00 |........|..8d....|
|000024e0| 00 00 00 00 00 00 38 65 | 00 01 00 00 00 00 00 00 |......8e|........|
|000024f0| 00 00 00 00 00 00 09 00 | 00 00 15 90 03 49 46 53 |........|.....IFS|
|00002500| 00 00 00 08 00 29 00 82 | 01 d1 02 7c 00 00 01 00 |.....)..|...|....|
|00002510| 00 00 01 0c 00 00 00 0c | 00 00 00 32 00 55 f9 18 |........|...2.U..|
|00002520| 0f 10 00 00 00 1c 00 32 | 00 00 57 4e 53 50 00 00 |.......2|..WNSP..|
|00002530| 00 0a 00 01 ff ff 00 00 | 00 00 00 55 f8 e0 00 00 |........|...U....|
|00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+